<%--
  Created by IntelliJ IDEA.
  User: 19143
  Date: 2021/10/24
  Time: 23:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>订单详情</title>
    <link type="text/css" rel="stylesheet" href="fontsawesome/css/font-awesome.css"/>
    <link type="text/css" rel="stylesheet" href="css/style.css"/>
</head>
<body>

<div class="main_box">
    <div class="cont_box">
        <!--订单号-->
        <div class="user_top">订单号：<span>${l.bid}</span></div>
        <!--订单商品-->
        <div class="user_top order_top">订单商品：</div>
<c:forEach items="${pname}" var="p">
        <table border="0" cellspacing="0" cellpadding="0" class="table">
            <thead>
            <tr>
                <th>商品名称</th>
                <th>商品价格</th>
                <th>商品实际销售价格</th>
                <th>销售人员</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>${p.pname}</td>
                <td>${p.money}</td>
                <td>${p.smoney}</td>
                <td>${p.ename}</td>
            </tr>
            </tbody>
        </table>
</c:forEach>
        <!--订单服务-->
        <div class="user_top order_top">订单服务：</div>
<c:forEach items="${sname}" var="s">
        <table border="0" cellspacing="0" cellpadding="0" class="table pre_table">
            <thead>
            <tr>
                <th>服务名称</th>
                <th>服务价格</th>
                <th>服务实际支付价格</th>
                <th>施工人员</th>
                <th>销售人员</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>
                   <c:choose>
                       <c:when test="${s.sname=='1'}">陶瓷镀膜（世界上超五百万辆在使用）</c:when>
                       <c:when test="${s.sname=='2'}">房车清洗</c:when>
                       <c:when test="${s.sname=='3'}">驾驶舱气触媒空气治理A+雾化气触媒B+消毒车美容人健康</c:when>
                       <c:when test="${s.sname=='4'}">喷晶镀膜（比封釉更经济实惠的镀膜，快速施工）</c:when>
                       <c:when test="${s.sname=='5'}">洗车</c:when>
                       <c:when test="${s.sname=='6'}">检查</c:when>
                       <c:when test="${s.sname=='7'}">拆车</c:when>
                       <c:when test="${s.sname=='8'}">贴膜</c:when>
                   </c:choose>
                </td>
                <td>${s.money}</td>
                <td>${s.smoney}</td>
                <td>${s.shigong}</td>
                <td>${s.ename}</td>
            </tr>
            </tbody>
</c:forEach>
        </table>
        <!--订单备注-->
        <div class="user_top order_top">订单备注：</div>
        <textarea class="order_note" readonly>${l.remark}</textarea>
    </div>
</div>
<!--javascript include-->
<script src="js/jquery-2.2.1.min.js"></script>
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/bootstrap-datepicker.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/jquery.form.min.js"></script>
<script src="js/other.js"></script>
<script>
    $(function(){
        $("body").other({formId:"#editPro_form",formUrl:"#"});//formUrl 表单请求地址
    });
</script>
</body>
</html>
